package com.smedi.ismedi.inmail.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 通知公告与项目关系Entity类
 *
 * @author niuyanling
 * @date 2021/07/26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "iml_announcement_record_relationship")
public class AnnouncementReadRecordRelationshipEntity extends BasicFieldEntity {
    /**
     * 通知公告Id
     */
     private Long announcementId;

    /**
     * 记录单signKey
     */
    private String recordSignKey;

    /**
     * 来源id
     */
    private Long sourceFromId;

    /**
     * 来源类型
     */
    private String sourceFromType;

    /**
     * 来源名称
     */
    private String sourceFromName;
}
